POV-Ray : Newsgroups : povray.binaries.images : Stained Glass Window w/Media : Stained Glass Window w/Media Server Time
10 Aug 2024 03:20:28 EDT (-0400)
  Stained Glass Window w/Media  
From: Anthony D  Baye
Date: 23 Oct 2004 19:52:46
Message: <417AEEC8.70CBC243@gold.sdsmt.edu>
I started fiddling around with my stained glass window thursday and
started wondering what it
would look like with media.  An early render is attatched.

It's given me some Ideas for a new project, but it takes a long time to
render.

  Total Time:   19 hours 39 minutes 52 seconds (70792 seconds) --> On a
400 MHz Mac G4.

my media settings may be to blame, i had to confine them to a box with
the demensions of the room
or the scene whites out beyond the window.

box { <-29.375*ft, -0.015625, -39.625*ft> <29.375*ft, 49.375*ft,
39.625*ft>
 hollow on
 pigment { Clear }
 finish { ambient 1 diffuse 0 }
 interior {
  media {
   method 3
   intervals 5
   scattering { 2, rgb 0.0009 extinction .25 }
   samples 15, 25
//   confidence 0.9
//   variance 1/1000
//   ratio 0.9
   }
  }
  photons { pass_through reflection on refraction on }
 }

I could probably turn off reflection in the photons block, I just didn't
think about it.

Also, If anybody wants try the code in my signature, I'd appreciate any
coments.
I've always thaught the idea was interesting, I've just never been able
to simplify anything like that
until now.

ADB

--
//Anthony D. Baye, Student - Comp.Sci.
#default{pigment{rgb .47}finish{reflection 0.3 specular 0.5}}#macro
m(a,g,e)#local A=0;
#while(A<360)#local
am=a*.75;cylinder{vrotate(a*x,A*g*z),vrotate(am*x,(A+135)*g*z)e}
#local A=A+90;#end #local B=0;#while(B<360)sphere{a*x,e rotate
B/2*g*z}#local B=B+1;
#end #end m(2,1,.03)m(2,-1,.03)light_source{<-3,10,-15>,rgb
1}camera{location-7*z look_at 0}


Post a reply to this message


Attachments:
Download 'stained_glass.jpg' (125 KB)

Preview of image 'stained_glass.jpg'
stained_glass.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.